package core.communication.electionConfiguration;

import java.io.Serializable;

import core.database.SexType;

public class CMember implements Serializable {
	private static final long serialVersionUID = -6090689032726367452L;

	private String name;
	private String surname;
	private String address;
	private String identificationField;
	private SexType sex;
	private String administratorToken;

	public CMember(String name, String surname, String address, String identificationField, SexType sex, String administratorToken) {
		super();
		this.name = name;
		this.surname = surname;
		this.address = address;
		this.identificationField = identificationField;
		this.sex = sex;
		this.administratorToken = administratorToken;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIdentificationField() {
		return identificationField;
	}

	public void setIdentificationField(String identificationField) {
		this.identificationField = identificationField;
	}

	public SexType getSex() {
		return sex;
	}

	public void setSex(SexType sex) {
		this.sex = sex;
	}

	public String getAdministratorToken() {
		return administratorToken;
	}

	public void setAdministratorToken(String administratorToken) {
		this.administratorToken = administratorToken;
	}
}
